package com.yunhe.webmvc.mode;

import java.lang.reflect.Method;

/**
 * @author LeiPeifeng
 * @version V1.0
 * @date 2017/10/12 0012 16:39
 * @Description: 用于封装action资源信息
 */
public class ActionModel {
    private Method method;//方法
    private Object action; //方法所在类的对象

    public ActionModel(Method method, Object action) {
        this.method = method;
        this.action = action;
    }

    public Method getMethod() {
        return method;
    }

    public Object getaction() {
        return action;
    }
}
